package com.example.pojo.dao;

import com.example.pojo.entity.Post;
import com.example.pojo.entity.Problem;
import io.lettuce.core.api.reactive.RedisReactiveCommands;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 小岁
 * @version 2023/11/1 15:46
 */
@Repository
public interface PostRepository  extends CrudRepository<Post,Integer> {

    List<Post> findAllById(Integer Id);
}

